!function(a,b){var c=a.documentElement,d="orientationchange"in window?"orientationchange":"resize",e=function(){var a=c.clientWidth;a&&(a>=750&&(a=750),c.style.fontSize=100*(a/750)+"px")};a.addEventListener&&(b.addEventListener(d,e,!1),e())}(document,window);
// 验证手机号
function checkMobile(str) {
    var re = /^1[3|4|5|7|8][0-9]{9}$/;
    if (re.test(str)) {
        return true
    } else {
        return false
    }
}
// 验证邮箱
function checkEmail(str){
    var re = /^(\w-*\.*)+@(\w-?)+(\.\w{2,})+$/
    if(re.test(str)){
        return true
    }else{
        return false
    }
}
